//
//  QueryUserInfoOperation.m
//  PlayBall
//
//  Created by Edward Zhang on 12-5-25.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddQueryUserInfoOperation.h"

@implementation JddQueryUserInfoOperation

- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder getUserInfoParameter];
    
    NSData *dataUserInfo = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];
    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(QueryUserInfoOperationResult:) withObject:dataUserInfo waitUntilDone:NO];
}

@end
